"""
@author:menglei
@desc:设置全店推广API
"""
from pdd.api.base import RestApi


class PddGoodsCpsMallUnitCreateRequest(RestApi):
    """
    @:param: rate:LONG:佣金比（千分比）
    @:param: erp_code:STRING:合作方code
    """
    def __init__(self,domain='https://gw-api.pinduoduo.com'):
        RestApi.__init__(self, domain)
        self.rate = None
        self.erp_code = None

    def getapiname(self):
        return 'pdd.goods.cps.mall.unit.create'